#基于系统
FROM centos

#docker 编写人
MAINTAINER ff <2248789023@qq.com>

#工作目录
WORKDIR /usr/lcoal

#安装需要工具
RUN yum -y install wget unzip

RUN wget https://releases.hashicorp.com/consul/1.10.2/consul_1.10.2_linux_amd64.zip

RUN unzip consul_1.10.2_linux_amd64.zip

RUN mv ./consul /usr/bin

RUN rm -rf consul_1.10.2_linux_amd64.zip
